package com.glory.hikvisionmobile.adapter;

import android.view.View;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.hikvisionmobile.R;
import com.glory.hikvisionmobile.bean.TrackOut.XPdaDieSortingAndDieBound;

import java.util.List;

public class DieBond160Adapter extends BaseQuickAdapter<XPdaDieSortingAndDieBound, BaseViewHolder> {
    public DieBond160Adapter(@Nullable List<XPdaDieSortingAndDieBound> data) {
        super(R.layout.adapter_param_list,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, XPdaDieSortingAndDieBound item) {
        helper.getView(R.id.etPosition).setVisibility(View.GONE);
        helper.setText(R.id.tvItem1,item.getCarrierId());
        helper.setText(R.id.tvItem2,item.getCarrierSeq());
        helper.setText(R.id.tvItem3,item.getTubeShellId());
        helper.setText(R.id.tvItem4,item.getDbCarrierId());
        helper.setText(R.id.tvItem5,item.getDbCarrierSeq());

    }

}
